//
//  NMPOBaseCollectionViewController.swift
//  NMPO
//
//  Created by PowerfullClean on 2023/10/31.
//

import UIKit

class NMPOBaseCollectionViewController: NMPOBaseViewController {
    
    override func viewDidLoad() {
        super.viewDidLoad()
        nmpo_collectionViews()
    }
    
    @objc func nmpo_collectionViews()  {
        view.addSubview(nmpo_collectionView)
        nmpo_collectionView.contentInsetAdjustmentBehavior = .never
    }
    
    @objc  func nmpo_layout() -> UICollectionViewFlowLayout {
        return UICollectionViewFlowLayout()
    }
    
    lazy var nmpo_collectionView: UICollectionView = {
        let nmpo_collectionView = UICollectionView.init(frame: .zero, collectionViewLayout: nmpo_layout())
        nmpo_collectionView.backgroundColor = .clear
        nmpo_collectionView.showsVerticalScrollIndicator = false
        nmpo_collectionView.showsHorizontalScrollIndicator = false
        return nmpo_collectionView
    }()

}
